import request from '@/utils/request';

/**
 * 登录
 * @returns {Promise<*>}
 */
export async function login(params) {
  return request('/eofficeserver/api/auth/login', {
    method: 'POST',
    data: params,
    requestType: 'json',
  });
}
